package org.budo.mybatis.criteria.query.parser.impl;

import java.io.Serializable;

/**
 * @author lmw
 */
public class TableJoinConfig implements Serializable {
    private static final long serialVersionUID = -5789744752930468623L;

    // left join table_aaa
    private String joinTable;

    // ta
    private String joinTableAlias;

    // on ta.id
    private String joinTableColumn;

    // = u
    private String joinReferTable;

    // u.id
    private String joinReferTableColumn;

    public String getJoinTable() {
        return joinTable;
    }

    public void setJoinTable(String joinTable) {
        this.joinTable = joinTable;
    }

    public String getJoinTableAlias() {
        return joinTableAlias;
    }

    public void setJoinTableAlias(String joinTableAlias) {
        this.joinTableAlias = joinTableAlias;
    }

    public String getJoinTableColumn() {
        return this.joinTableColumn;
    }

    public String getJoinReferTable() {
        return this.joinReferTable;
    }

    public String getJoinReferTableColumn() {
        return this.joinReferTableColumn;
    }

    public void setJoinReferTable(String joinReferTable) {
        this.joinReferTable = joinReferTable;
    }

    public void setJoinReferTableColumn(String joinReferTableColumn) {
        this.joinReferTableColumn = joinReferTableColumn;
    }

    public void setJoinTableColumn(String joinTableColumn) {
        this.joinTableColumn = joinTableColumn;
    }
}